<?php if($sf_user->isAuthenticated()){ ?>
<a href="javascript:void(0)" onclick="ajaxRemoveFavorites('<?php echo $article->getId() ?>')">
    <div style="display: inline-block;vertical-align: middle;width: 126px;">
        Eliminar de mis favoritos
    </div>
    <div style="display: inline-block;vertical-align: middle;">
        <?php echo image_tag('heart2.png','size=19x16') ?>
    </div>
</a>
<?php } ?>